package org.zcl.rpc;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.zcl.entity.User;

/**
 * .
 *
 * @author zhuchenglin
 * @since 2024/7/8 18:38
 */
@FeignClient(name = "nacos-web2",contextId = "nacos-web-normal")
public interface UserCloud {

    @GetMapping("/simple/getById/{id}")
    User getById(@PathVariable(value = "id") Long id);
}
